package com.ruoyi.pyo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物档案对象 pet_yeah_pet_archive
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class PetYeahPetArchive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 所属用户 */
    @Excel(name = "所属用户")
    private Long uid;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String uname;

    /** 用户联系方式/电话 */
    @Excel(name = "用户联系方式/电话")
    private String telNo;

    /** 宠物名称 */
    @Excel(name = "宠物名称")
    private String nickName;

    /** 宠物头像 */
    @Excel(name = "宠物头像")
    private String avatar;

    /** 宠物品种 */
    @Excel(name = "宠物品种")
    private Long varietyDictCode;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String dateOfBirth;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 是否绝育 */
    @Excel(name = "是否绝育")
    private Integer sterilization;

    /** 毛色 */
    @Excel(name = "毛色")
    private Long coatColorDictCode;

    /** 体重 */
    @Excel(name = "体重")
    private String weight;

    /** 角色状态（0正常 1停用） */
    @Excel(name = "角色状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setUname(String uname) 
    {
        this.uname = uname;
    }

    public String getUname() 
    {
        return uname;
    }

    public void setTelNo(String telNo) 
    {
        this.telNo = telNo;
    }

    public String getTelNo() 
    {
        return telNo;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setVarietyDictCode(Long varietyDictCode) 
    {
        this.varietyDictCode = varietyDictCode;
    }

    public Long getVarietyDictCode() 
    {
        return varietyDictCode;
    }

    public void setDateOfBirth(String dateOfBirth) 
    {
        this.dateOfBirth = dateOfBirth;
    }

    public String getDateOfBirth() 
    {
        return dateOfBirth;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setSterilization(Integer sterilization) 
    {
        this.sterilization = sterilization;
    }

    public Integer getSterilization() 
    {
        return sterilization;
    }

    public void setCoatColorDictCode(Long coatColorDictCode) 
    {
        this.coatColorDictCode = coatColorDictCode;
    }

    public Long getCoatColorDictCode() 
    {
        return coatColorDictCode;
    }

    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("uname", getUname())
            .append("telNo", getTelNo())
            .append("nickName", getNickName())
            .append("avatar", getAvatar())
            .append("varietyDictCode", getVarietyDictCode())
            .append("dateOfBirth", getDateOfBirth())
            .append("sex", getSex())
            .append("sterilization", getSterilization())
            .append("coatColorDictCode", getCoatColorDictCode())
            .append("weight", getWeight())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
